package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Advertisement;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IAdvertisementService {
    void deleteByPrimaryKey(Long id);

    void insert(Advertisement record);

    Advertisement selectByPrimaryKey(Long id);

    List<Advertisement> selectAll();

    void updateByPrimaryKey(Advertisement record);

    PageInfo query(QueryObject qo);
}
